projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da000c2
)
(sendmail-pre-abbrev-expand-hook):
author
Richard M. Stallman
<rms@gnu.org>
Tue, 8 May 2007 18:15:07 +0000
(18:15 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 8 May 2007 18:15:07 +0000
(18:15 +0000)
Don't include non-self-insert commands in the exception for `-'.
lisp/mail/mailabbrev.el
patch
|
blob
|
history
diff --git
a/lisp/mail/mailabbrev.el
b/lisp/mail/mailabbrev.el
index c62cba4822d6ad54f64c65cc91abbbebd248b331..b83b3864cb42152780161064d2a1fa8743690afa 100644
(file)
--- a/
lisp/mail/mailabbrev.el
+++ b/
lisp/mail/mailabbrev.el
@@
-494,6
+494,8
@@
of a mail alias. The value is set up, buffer-local, when first needed.")
;; the usual syntax table.
(or (and (integerp last-command-char)
+ ;; Some commands such as M-> may want to expand first.
+ (equal this-command 'self-insert)
(or (eq (char-syntax last-command-char) ?_)
;; Don't expand on @.
(memq last-command-char '(?@ ?. ?% ?! ?_ ?-))))